package top.atcra.rpc.transport.testAPI;

public class HelloServiceImpl implements Hello {

    @Override
    public String sayHello(String... name) {
        StringBuilder sb = new StringBuilder();
        sb.append("Hello ");
        for (int i = 0; i < name.length; i++) {
            sb.append(name[i]);
            if (i != name.length - 1) {
                sb.append(", ");
            }
        }
        return sb.toString();
    }
}
